<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href='<spring:url value="/resources/images/favicon.ico"/>' />
<link href='<spring:url value="/resources/bootstrap/css/bootstrap.min.css"/>' rel="stylesheet" />
<link href='<spring:url value="/resources/css/full.css"/>' rel="stylesheet" />
<title>修改密码-考勤系统</title>
<script type="text/javascript" src='<c:url value="/resources/js/3rd/require.min.js" />'
	data-main='<spring:url value="/resources/js/sign/list.js"/>'></script>
</head>
<body>
	<div class="container"><jsp:include page="../topMenu.jsp" />
		<div class="panel panel-default">
			<div class="panel-heading">修改密码</div>
			<div class="panel-body">
				<form:form modelAttribute="bean" method="post">
					<t:bootstrapPwd name="oldPwd" id="oldPwd" label="旧密码" placeHolder="******" />
					<t:bootstrapPwd name="newPwd" id="newPwd" label="新密码" placeHolder="******" />
					<t:bootstrapPwd name="newPwd2" id="newPwd2" label="确认密码" placeHolder="******" />
					<div class="form-group">
						<button type="submit" class="btn btn-danger">修改</button>
						<a href='javascript:history.back()' class="btn btn-default">返回</a>
						<form:errors cssClass="text-danger" />
						<c:if test="${Succeed}">
							<span class="text-success"><spring:message code="EDITSUCCEED" /></span>
						</c:if>
					</div>
				</form:form>
			</div>
		</div>
	</div>
</body>
</html>